package com.magic.gre.base.dialog;

import android.view.Gravity;

/**
 * Author: Lmoumou
 * Date: 2018-09-14 10:21
 * 文件名: BaseCenterDialog
 * 描述:
 */
public abstract class BaseCenterDialog extends BaseDialog {
    @Override
    protected Float setDialogWith() {
        return 0.7F;
    }

    @Override
    protected int setDialogPosition() {
        return Gravity.CENTER;
    }

    @Override
    protected int setAnimId() {
        return android.R.style.Animation_Dialog;
    }

    @Override
    protected boolean setOutSide() {
        return true;
    }

    @Override
    protected boolean clickBack() {
        return true;
    }

    @Override
    protected float halfTpValue() {
        return 0.5F;
    }
}
